package com.hoshiibuy.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.company.entity.ComOrganization;

/**
 * <p>
 * 公司注册/登陆 服务类
 * </p>
 *
 * @author WGJ
 * @since 2019-04-20
 */
public interface ICompanyLoginService extends IService<ComOrganization> {

    boolean registerCompany(ComOrganization comOrganization);

    boolean companyLogin(String userName, String password);

    boolean companyLoginByPhoneNo(String phoneNo, String securityCode);

}
